//
//  UUNotificationModel.h
//  UUCharterSupplier
//
//  Created by ZhangAo on 05/03/2018.
//  Copyright © 2018 UUCharter. All rights reserved.
//

#import <UUFoundation/UUBaseModel.h>
#import "UUNotificationConstants.h"
#import "UUPermissionConstants.h"

@interface UUNotificationContentModel : UUBaseModel

@property (nonatomic, assign) UUNotificationContentType type;

@end

@interface UUNotificationContentBlank : UUNotificationContentModel

@end

@interface UUNotificationContentIntentOrderModel : UUNotificationContentModel

@property (nonatomic, strong) NSDate *departTime;
@property (nonatomic, strong) UUAddressModel *departure;
@property (nonatomic, strong) UUAddressModel *arrival;
@property (nonatomic, assign) int busNum;
@property (nonatomic, assign) float days;
@property (nonatomic, strong) NSNumber *intentOrderId;

@end

@interface UUNotificationContentOrderConfirmModel : UUNotificationContentModel

@property (nonatomic, strong) NSDate *departTime;
@property (nonatomic, strong) UUAddressModel *departure;
@property (nonatomic, strong) UUAddressModel *arrival;
@property (nonatomic, assign) int busNum;
@property (nonatomic, assign) float days;
@property (nonatomic, strong) NSNumber *price;
@property (nonatomic, strong) NSNumber *orderId;

@end

@interface UUNotificationContentOrderServiceModel : UUNotificationContentModel

@property (nonatomic, strong) NSDate *departTime;
@property (nonatomic, strong) UUAddressModel *departure;
@property (nonatomic, assign) int busNum;
@property (nonatomic, assign) float days;
@property (nonatomic, copy) NSString *contact;
@property (nonatomic, copy) NSString *contactMobile;
@property (nonatomic, strong) NSNumber *orderId;

@end

@interface UUNotificationContentWithdrawSuccessModel : UUNotificationContentModel

@property (nonatomic, strong) NSDate *createTime;
@property (nonatomic, strong) NSNumber *money;
@property (nonatomic, strong) NSNumber *recordId;

@end

@interface UUNotificationContentWithdrawFailureModel : UUNotificationContentWithdrawSuccessModel

@property (nonatomic, copy) NSString *remark;

@end

@interface UUNotificationContentProductAuditPassModel : UUNotificationContentModel

@property (nonatomic, copy) NSString *carType;
@property (nonatomic, strong) NSNumber *productId;

@end

@interface UUNotificationContentProductAuditFailtureModel : UUNotificationContentProductAuditPassModel

@property (nonatomic, copy) NSString *remark;

@end

@interface UUNotificationContentCarAuditPassModel : UUNotificationContentModel

@property (nonatomic, copy) NSString *carNum;
@property (nonatomic, strong) NSNumber *carId;

@end

@interface UUNotificationContentCarAuditFailtureModel : UUNotificationContentCarAuditPassModel

@property (nonatomic, copy) NSString *remark;

@end

@interface UUNotificationContentKeeperLogoutModel : UUNotificationContentModel

@property (nonatomic, copy) NSString *account;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) UUPermissionRoleType role;

@end

@interface UUNotificationContentPlatformModel : UUNotificationContentModel

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *desc;
@property (nonatomic, copy) NSString *img;
@property (nonatomic, copy) NSString *URLString;

@end

@interface UUNotificationContentSupplierReviewFailureModel : UUNotificationContentModel

@property (nonatomic, copy) NSString *remark;

@end

///////////////////////////////////////////////////////////////////////////////////////

@interface UUNotificationModel : UUBaseModel

@property (nonatomic, strong) NSDate *createTime;
@property (nonatomic, strong) UUNotificationContentModel *content;

@end
